package cn.bugstack.trigger.http;

import cn.bugstack.api.dto.NotifyRequestDTO;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @author liuxinzhi
 * @description:
 * @date 2025/8/11 11:36
 */
@Slf4j
@RestController()
@CrossOrigin("*")
@RequestMapping("/api/v1/tewst")
public class TestApiClientController {
    @PostMapping("/group_buy_notify")
    public String groupBuyNotify(@RequestBody NotifyRequestDTO notifyRequestDTO){
        log.info("测试接口:{}", JSON.toJSONString(notifyRequestDTO));
        return "success";
    }
}
